package com.yangrui.app.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class VideoOrder {

    private Integer id;
    @JsonProperty("order-no")
    private String orderNo;

    private Integer state;
    @JsonProperty("total-fee")
    private Double totalFee;
    @JsonProperty("video-id")
    private Integer videoId;

    @JsonProperty("video-title")
    private String videoTitle;
    @JsonProperty("video-img")
    private String videoImg;
    @JsonProperty("user-id")
    private Integer userId;
    @JsonProperty("create-time")
    private Date createTime;

    private User user;

}
